package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.system.model.GlobalType;
import com.ccp.dev.workflow.model.BpmProTransTo;

import java.util.List;

public interface BpmProTransToDao extends IBaseMapper<BpmProTransTo,String> {

     void delByTaskId(String taskId);

     void delByProcInstId(String procInstId);

     /**
      * 根据任务id获取流转信息
      * @param taskId
      * @return
      */
     List<BpmProTransTo> getByTaskId(String taskId);

     /**
      * 查询流转流程分类
      * @param createUserId
      * @return
      */
     List<GlobalType> queryCateGory(String createUserId);
}
